#include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef unsigned long long ull;
int main() {
    int k = 900000000;
    int c = 1;

    ull res = (((ull)1 * k) << 32) + (ull)(UINT_MAX - c);
    std::cout << bitset<64>(k) << std::endl; 
    std::cout << bitset<64>(c) << std::endl; 
    std::cout << bitset<64>(res) << std::endl; 
    std::cout << bitset<64>(UINT_MAX) << std::endl; 
    std::cout << bitset<64>(UINT_MAX - c) << std::endl; 
}
